package cn.xspace.module.other.http.req;

import com.xspace.android.xafcommon.network.message.ARequestMsg;
import com.xspace.android.xafcommon.util.Constants;
import com.xspace.android.xafcommon.util.LogUtils;


/**
 * @ClassName: ReleaseReumeReq
 * @author:guankui
 * @Date：2014年2月21日
 * @version V1.0.0
 * @Description: 简历发布请求实体类
 */
public class QueryUserPowerReq extends ARequestMsg {
	
	public	String uuid;
	public String deptid;
	
	public QueryUserPowerReq(String uuid, String deptid) {
		super();
		this.uuid = uuid;
		this.deptid = deptid;
	}

	@Override
	public String getURL() {
		LogUtils.d("QueryUserPower==>" +  Constants.URL_QUERY_USER_POWER);
		return Constants.URL_QUERY_USER_POWER;
	}
	
	@Override
	protected byte[] toBytes() {
		String value = "{\"uuid\":\"" + uuid +  "\",\"deptid\":\"" + deptid + "\"}";
		LogUtils.d("QueryUserPower==>" + value);
		return value.getBytes();
	}


	protected String toJson() {
		return null;
	}

}
